package com.ruoyi.system.domain.api;

import java.math.BigDecimal;
import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 内转记录对象 w_record_transfer_in
 * 
 * @author ruoyi
 * @date 2022-04-22
 */
public class WRecordTransferIn extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 转出用户ID */
    @Excel(name = "转出用户ID")
    private Long formUserId;

    /** 转入用户ID */
    @Excel(name = "转入用户ID")
    private Long toUserId;

    /** 币种 */
    @Excel(name = "币种")
    private String coinName;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal amount;

    /** 提现金额 */
    @Excel(name = "提现金额")
    private BigDecimal withdrawAmount;

    /** 转账流水号 */
    @Excel(name = "转账流水号")
    private String transferNo;

    /** 手续费 */
    @Excel(name = "手续费")
    private BigDecimal fee;

    private Date createTime;

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFormUserId(Long formUserId) 
    {
        this.formUserId = formUserId;
    }

    public Long getFormUserId() 
    {
        return formUserId;
    }
    public void setToUserId(Long toUserId) 
    {
        this.toUserId = toUserId;
    }

    public Long getToUserId() 
    {
        return toUserId;
    }
    public void setCoinName(String coinName) 
    {
        this.coinName = coinName;
    }

    public String getCoinName() 
    {
        return coinName;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }
    public void setWithdrawAmount(BigDecimal withdrawAmount) 
    {
        this.withdrawAmount = withdrawAmount;
    }

    public BigDecimal getWithdrawAmount() 
    {
        return withdrawAmount;
    }
    public void setTransferNo(String transferNo) 
    {
        this.transferNo = transferNo;
    }

    public String getTransferNo() 
    {
        return transferNo;
    }
    public void setFee(BigDecimal fee) 
    {
        this.fee = fee;
    }

    public BigDecimal getFee() 
    {
        return fee;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("formUserId", getFormUserId())
            .append("toUserId", getToUserId())
            .append("coinName", getCoinName())
            .append("amount", getAmount())
            .append("createTime", getCreateTime())
            .append("withdrawAmount", getWithdrawAmount())
            .append("transferNo", getTransferNo())
            .append("fee", getFee())
            .toString();
    }
}
